//
//  ExchangeViewController.m
//  LvBao
//
//  Created by 范琦 on 16/6/7.
//  Copyright © 2016年 范琦. All rights reserved.
//

#import "ExchangeViewController.h"
#import "ExchangeView1.h"
#import "ScanCodeEnterViewController.h"

@interface ExchangeViewController ()

@property (nonatomic, strong) ExchangeView1 *exchangeView;

@end

@implementation ExchangeViewController
- (void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
    self.navigationController.navigationBar.hidden = NO;
    [[self rdv_tabBarController] setTabBarHidden:YES animated:YES];
    
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.title = @"大连银行(高新园区)";
    
    [self creatView];
}


- (void)creatView
{
    self.exchangeView = [[[NSBundle mainBundle] loadNibNamed:@"ExchangeView1" owner:self options:nil] lastObject];
    _exchangeView.frame = CGRectMake(0, 0, KSCREENWIDTH, 300);
    [self.view addSubview:_exchangeView];
    [_exchangeView.exchangeB addTarget:self action:@selector(enter) forControlEvents:UIControlEventTouchUpInside];

}
- (void)enter
{
    ScanCodeEnterViewController *enter = [[ScanCodeEnterViewController alloc]init];
    [self.navigationController pushViewController:enter animated:YES];


}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
